#define LOADER_ADDR 0x09000000
#define HBL_ROOT "ms0:/PSP/SAVEDATA/NPJH50465MAIN00/"

#define TH_ADDR_LIST { 0x08DA0500, 0x08D731AC, 0x08D73198, 0x08D73194, 0x08D82C9C, 0x08D7F968, 0x08D7F280, 0x08D7F5C8, 0x08D7F538, 0x08DB14D8 }
#define LWMUTEX_ADDR_LIST { 0x08D7F620, 0x08D7F6F8, 0x08D7F170, 0x08FB5218, 0x08FB5490, 0x08FB5B80, 0x08D7EFE0, 0x08D7F028, 0x08D7F070, 0x08D7F0B8, 0x08FB8310, 0x08FB83B8, 0x08D7F8E8, 0x08D7ECC8, 0x08DA0504 }
#define EV_ADDR_LIST { 0x08D82CB0, 0x08D7F1F0, 0x08D7F778, 0x08D7F6A0 }
#define SEMA_ADDR_LIST { 0x08E3EC8C, 0x08DC0588, 0x08DBB1A0, 0x08DBB180, 0x08DBB160, 0x08DBB140, 0x08DBB040, 0x08DBAF40, 0x08DBAE40, 0x08DBAD40, 0x08DBAC40, 0x08DBAB40, 0x08DBAA40, 0x08DBA940, 0x08DBA840, 0x08DAC148, 0x08DAC048, 0x08DBA330, 0x08DBA230, 0x08DBA130, 0x08DBA030, 0x08DB9F30, 0x08DB9E30, 0x08DB9D30, 0x08DB9C30, 0x08DB9B30, 0x08DB9A30, 0x08DB9930, 0x08DB9830, 0x08DB9730, 0x08DB9630, 0x08DB9530, 0x08DB9430, 0x08DB9330, 0x08DB9230, 0x08DB9130, 0x08DB9030, 0x08DB8F30, 0x08DB8E30, 0x08DB8D30, 0x08DB8C30, 0x08DB8B30, 0x08DB8A30, 0x08DB8930, 0x08DB8830, 0x08DB8730, 0x08DB8630, 0x08DB8530, 0x08DB8430, 0x08DB8330, 0x08DB8230, 0x08DB8130, 0x08DB8030, 0x08DB7F30, 0x08DB7C30, 0x08DB7B30, 0x08DB7A30, 0x08DB7930, 0x08DB7830, 0x08DB7730, 0x08DB7630, 0x08DB7530, 0x08DB7430, 0x08DB7330, 0x08DB7230, 0x08DB7130, 0x08DB59E0, 0x08DB59C0, 0x08DB4F50, 0x08DB4F30, 0x08DB52D8, 0x08DB4D88, 0x08DB4B38, 0x08DB4B18, 0x08DB4AF8, 0x08DB4AD8, 0x08DB4AB8, 0x08DAF828, 0x08DB1608, 0x08DC0050 }
// #define GAME_FREEMEM_ADDR { 0x08D72AD0 }

// #define GAME_FREEMEM_BRUTEFORCE_INIT 0
// #define GAME_FREEMEM_BRUTEFORCE_ADDR 0x08DAA000
